{extend name="common/public" /}
    {block name="content"}
        <div class="container-fluid am-cf" style="padding-bottom: 0px;">
            <div class="row">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                    <div class="page-header-heading"><span class="am-icon-home page-header-heading-icon"></span> 首页 <small>Amaze UI</small></div>
                </div>
            </div>
        </div>
        <div class="row-content am-cf">

            <div class="row  am-cf">
                {eq name = "ADMINTYPE" value ="1"}
                <div class="am-u-sm-12 am-u-md-6 am-u-lg-4" style="cursor: pointer">
                    <div class="widget widget-primary am-cf">
                        <div class="widget-statistic-header">
                            会员总数
                        </div>
                        <div class="widget-statistic-body">
                            <div class="widget-statistic-value" id="student">
                                {$info.userCount}
                            </div>
                            <div class="widget-statistic-description" onclick="window.location.href = '{:url("/user/lists")}'">
                                回收员    {$info.recycler}名
                            </div>
                        <span class="widget-statistic-icon am-icon-users"></span>
                        </div>
                    </div>
                </div>
            {/eq}
                <div class="am-u-sm-12 am-u-md-6 am-u-lg-4" style="cursor: pointer">
                    <div class="widget widget-primary am-cf">
                        <div class="widget-statistic-header">
                           回收总重量
                        </div>
                        <div class="widget-statistic-body">
                            <div class="widget-statistic-value" >
                                {$info.weight}
                            </div>
                            <div class="widget-statistic-description" onclick="window.location.href = '{:url("order/lists")}'">
                            {eq name = "ADMINTYPE" value ="2"}
                                回收员    {$info.recycler}名
                            {else /}
                                点击查看更多
                            {/eq}
                            </div>
                            <span class="widget-statistic-icon am-icon-credit-card-user"></span>
                        </div>
                    </div>
                </div>
                <div class="am-u-sm-12 am-u-md-6 am-u-lg-4"  style="cursor: pointer;float: left;">
                    <div class="widget widget-purple am-cf">
                        <div class="widget-statistic-header">
                            回收总支出
                        </div>
                        <div class="widget-statistic-body">
                            <div class="widget-statistic-value" id="admin">
                                {$info.price}
                            </div>
                            <div class="widget-statistic-description" onclick="window.location.href = '{:url("order/lists")}'">
                                点击查看更多
                            </div>

                        </div>
                    </div>
                </div>
                <!--    <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                        <div class="widget widget-primary am-cf">
                            <div class="widget-statistic-header">
                                订单总数
                            </div>
                            <div class="widget-statistic-body">
                                <div class="widget-statistic-value">
                                    60000
                                </div>
                                <div class="widget-statistic-description">
                                    点击查看更多
                                </div>
                                <span class="widget-statistic-icon am-icon-edit"></span>
                            </div>
                        </div>
                    </div>
                    <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                        <div class="widget widget-purple am-cf">
                            <div class="widget-statistic-header">
                                总金额
                            </div>
                            <div class="widget-statistic-body">
                                <div class="widget-statistic-value">
                                    ￥3000
                                </div>
                                <div class="widget-statistic-description">
                                    点击查看更多
                                </div>
                                <span class="widget-statistic-icon am-icon-money"></span>
                            </div>
                        </div>
                    </div>-->
            </div>

                <!--<div class="am-u-sm-12 am-u-md-12 am-u-lg-12 widget-margin-bottom-lg">

                    <div class="widget am-cf widget-body-lg">

                        <div class="widget-body  am-fr">
                            <div class="am-scrollable-horizontal ">
                                <table width="100%" class="am-table am-table-compact am-text-nowrap tpl-table-black " id="example-r">
                                    <thead>
                                    <tr>
                                        <th>文章标题</th>
                                        <th>作者</th>
                                        <th>时间</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr class="gradeX">
                                        <td>新加坡大数据初创公司 Latize 获 150 万美元风险融资</td>
                                        <td>张鹏飞</td>
                                        <td>2016-09-26</td>
                                        <td>
                                            <div class="tpl-table-black-operation">
                                                <a href="javascript:;">
                                                    <i class="am-icon-pencil"></i> 编辑
                                                </a>
                                                <a href="javascript:;" class="tpl-table-black-operation-del">
                                                    <i class="am-icon-trash"></i> 删除
                                                </a>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr class="even gradeC">
                                        <td>自拍的“政治角色”：观众背对希拉里自拍合影表示“支持”</td>
                                        <td>天纵之人</td>
                                        <td>2016-09-26</td>
                                        <td>
                                            <div class="tpl-table-black-operation">
                                                <a href="javascript:;">
                                                    <i class="am-icon-pencil"></i> 编辑
                                                </a>
                                                <a href="javascript:;" class="tpl-table-black-operation-del">
                                                    <i class="am-icon-trash"></i> 删除
                                                </a>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr class="gradeX">
                                        <td>关于创新管理，我想和你当面聊聊。</td>
                                        <td>王宽师</td>
                                        <td>2016-09-26</td>
                                        <td>
                                            <div class="tpl-table-black-operation">
                                                <a href="javascript:;">
                                                    <i class="am-icon-pencil"></i> 编辑
                                                </a>
                                                <a href="javascript:;" class="tpl-table-black-operation-del">
                                                    <i class="am-icon-trash"></i> 删除
                                                </a>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr class="even gradeC">
                                        <td>究竟是趋势带动投资，还是投资引领趋势？</td>
                                        <td>着迷</td>
                                        <td>2016-09-26</td>
                                        <td>
                                            <div class="tpl-table-black-operation">
                                                <a href="javascript:;">
                                                    <i class="am-icon-pencil"></i> 编辑
                                                </a>
                                                <a href="javascript:;" class="tpl-table-black-operation-del">
                                                    <i class="am-icon-trash"></i> 删除
                                                </a>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr class="even gradeC">
                                        <td>Docker领域再添一员，网易云发布“蜂巢”，加入云计算之争</td>
                                        <td>醉里挑灯看键</td>
                                        <td>2016-09-26</td>
                                        <td>
                                            <div class="tpl-table-black-operation">
                                                <a href="javascript:;">
                                                    <i class="am-icon-pencil"></i> 编辑
                                                </a>
                                                <a href="javascript:;" class="tpl-table-black-operation-del">
                                                    <i class="am-icon-trash"></i> 删除
                                                </a>
                                            </div>
                                        </td>
                                    </tr>


                                    &lt;!&ndash; more data &ndash;&gt;
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>

                </div>-->
            </div>
        </div>
    {/block}

{/extend}